package spring.chatroom.java_chatroom.pojo.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class historyInfoResp {
    Integer id;
    Integer sessionId;
    Integer userId;
    String userName;
    String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    Date createTime;
}
